namespace Stee.CAP8.MessageBus.Sagas.Core.Storages.Nodes
{
    using System;
    using Stee.CAP8.MessageBus.Sagas.Core.Storages.Enums;

    public class SagaNodeData
    {
        public Guid Id { get; set; }
        public string SagaId { get; set; }
        /// <summary>
        /// flow返回的
        /// </summary>
        public string RecordId { get; set; }
        /// <summary>
        /// json化的数据
        /// </summary>
        public byte[] CommandMessageData { get; set; }
        public SagaNodeState SagaNodeStatus { get; set; }


        public DateTime TimeStamp { get; set; }
        public bool IsDeleted { get; set; }
    }
}
